package task07;

import java.util.Scanner;

/**
 * @author banana
 * 键盘输入成绩，判断输入成绩等级 90—100优秀，
 * 80-90良好,菜鸟还需努力
 */
public class Test6 {
    public static void main(String[] args) {
        System.out.println("请输入一个数");
        Scanner scanner=new Scanner(System.in);
        int x=scanner.nextInt();
        switch(x/10){
            case 10:
            case 9:
                System.out.println("优秀");
                break;
            case 8:
                System.out.println("良好");
                break;

            default:
                System.out.println("菜鸟还需努力");
                break;

        }
    }
}
